import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";

// https://vitejs.dev/config/
export default defineConfig({
    resolve: {
        alias: {
            "~@": "./src",
        },
    },
    css:{
      preprocessorOptions:{
        less:{
          additionalData:`@import "~@/styles/var.less";
                          @import "~@/styles/mixin.less";`
        }
      }
    },
    plugins: [vue()],
});
